package cn.wolfcode.wolf2w.business.service;

import cn.wolfcode.wolf2w.business.query.SearchQuery;
import org.springframework.data.domain.Page;

import java.lang.reflect.InvocationTargetException;


public interface ISearchService {

//   <T> Page<T> searchHighLight(String indexName,Class<T> clazz,SearchQuery qo,String... fields);
   <T> Page<T> searchHighLight(Class<T> mysqlClazz, Class<?> clazz, SearchQuery qo, String... fields) throws InvocationTargetException, IllegalAccessException;

}
